{% extends "template/addEdit.volt" %}

{% block title %}增加子系统{% endblock %}

{% block content %}
    <table class="single">
        <tr>
            <th>内部名称:</th>
            <td><input type="text" value="" name="system_name" data-valid="text" /></td>
        </tr>
        <tr>
            <th>系统名称:</th>
            <td><input type="text" value="" name="system_title" data-valid="text" /></td>
        </tr>
        <tr>
            <th>系统图标:</th>
            <td><input type="text" value="" name="system_logo_url" data-valid="url" /></td>
        </tr>

    </table>
{% endblock %}

{% block jscontent %}
    <script>
        function addAction() {
            if(DataValidBinder.valid())
            {
                var params="action_key=ACTION_ADD&"+$("form").serialize();
                $.post("/subsystem/add",params, function (result) {
                   
                    FAlert(result.message);
                });
            }
        }
    </script>
{% endblock %}
